package com.bd.lrb_q.controller;


import com.bd.lrb_q.entity.User;
import com.bd.lrb_q.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @Autowired(required = false)
    UserMapper userMapper;

    @RequestMapping("/usera/insert")
    public void insert(User user){
        userMapper.insert(user);
    }



}
